Elementor\TemplateLibrary\Manager A

Total Complexity 72
Dependencies 13
Dependents 1
Total lines 704
Lines of code 280
Logical lines of code 170
Comment lines 304
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
export_template()
A
52 8 22
handle_direct_actions()
S
55 5 19
handle_ajax_request()
S
57 5 17
save_template()
S
56 4 18
get_template_data()
S
57 4 17
update_template()
S
57 4 16
register_source()
S
59 4 15
get_templates()
S
62 4 10
get_library_data()
S
60 3 13
import_from_json()
S
60 3 13
delete_template()
S
62 3 11
register_ajax_actions()
S
58 2 17
import_template()
S
58 2 15
update_templates()
S
65 3 9
register_default_sources()
S
63 2 11
mark_template_as_favorite()
S
66 2 8
ensure_args()
S
67 2 7
get_import_images_instance()
S
71 2 6
get_source()
S
69 2 7
enable_json_template_upload()
S
82 1 3
direct_import_template()
S
71 1 5
add_actions()
S
75 1 4
get_registered_sources()
S
82 1 3
unregister_source()
S
82 1 3
on_direct_import_template_success()
S
80 1 3
handle_direct_action_error()
S
80 1 3
__construct()
S
74 1 5